body{
    min-width: 320px;
    max-width: 540px;
    margin:0 auto;
    font:normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #222;
    text-decoration: none;
}

/* 搜索框 */
.search-box { 
    display: flex;
    position: fixed;
    width: 100%;
    height: 44px;
    top: 0;
    left: 50%;
    min-width: 320px;
    max-width: 540px;
    -webkit-transform: translateX(-50%);
    /* background-color: pink; */
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc ;
}
.search{
    position: relative;
    flex: 1;
    border:1px solid #ccc;
    height: 26px;
    margin: 7px 10px;
    border-radius: 7px;
    font-size: 12px;
    color: #666;
    padding-left: 25px;
    text-align: center;
    line-height: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.search::before{
    content: "";
    position: absolute;
    left: 9px;
    top: 3px;
    display: block;
    background: url('../images/jd-sprites.png') no-repeat -83px 0;
    background-size: 200px 200px;
    width: 15px;
    height: 14px;
    margin:4px auto -2px;
}

a{
    text-decoration: none;
}

.user{
    height: 44px;
    width: 44px;
    /* background-color: #fff; */
    font-size: 10px;
    color: #2eaae0;
    font-style: normal;
    text-align: center;
}

.user::before{
    content: "";
    display: block;
    background: url(../images/tabbar.png) no-repeat -9px -152px;
        background-size: 48px 240px;
        width: 29px;
        height: 31px;
        margin:1px auto -2px;
}

.focus{
    padding-top: 44px;
}

.focus img{
    width: 100%;
}

.local-nav{ 
    height: 64px;
    background-color: #fff;
    display: flex;
}

.local-nav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.local-nav li{
    flex:1;
}

.local-nav-icon{
    width: 32px;
    height: 32px;
    background-color: pink;
    margin-top: 8px;
    background: url('../images/un_icon.png') no-repeat -4px -303px;
        width: 35px;
        height: 36px;
}

.train{
    width: 32px;
        height: 32px;
        background-color: pink;
        margin-top: 8px;
        background: url('../images/un_icon.png')no-repeat -5px -203px;
        width: 30px;
        height: 36px;
}

.plane{
    width: 32px;
        height: 32px;
        background-color: pink;
        margin-top: 10px;
        background: url('../images/un_icon.png') no-repeat -2px -153px;
        width: 36px;
        height: 34px;
}

.border-trip{
    width: 32px;
        height: 32px;
        background-color: pink;
        margin-top: 14px;
        background: url('../images/un_icon.png') no-repeat -1px -355px;
        width: 38px;
        height: 30px;
}

.hotel{
    width: 32px;
        height: 32px;
        background-color: pink;
        margin-top: 19px;
        background: url('../images/un_icon.png') no-repeat -3px -57px;
        width: 34px;
        height: 25px;
}

nav{
    border-radius: 8px;
    margin: 0 4px 3px;
    overflow:hidden;
}

.nav-common{
    height: 88px;
    background-color: pink;
    display: flex;
}


.nav-common:nth-child(2){
    margin: 3px 0;
    
}


.nav-items{
    flex:1;
    display:flex;
    flex-direction: column;
}

.nav-items a{
    flex:1;
   text-align: center;
   line-height: 44px;
   font-size: 14px;
   /* 文字阴影 */
   text-shadow: 1px 1px rgba(0, 0, 0, .2);
   color:#fff
}

.nav-items a:nth-child(1){
    border-bottom: 1px solid #fff;
}

.nav-items:nth-chlid(1) a {
    border: 0;
    background: url("../images/hotel.fc17d0f7726132bf2459621923704f0f.png") no-repeat bottom center;
    background-size: 121px auto;
}

/* 选择前两个元素 */
.nav-items:nth-child(-n+2) {
    border: 1px solid #fff;
}

.nav-common:nth-child(2) .hotelpage{
    background: url("../images/homepage-hotel-searchbox-background.png") no-repeat bottom center;
    background-size: 190px auto;
}

.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#Fa5a55,#fa994d);
}

.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4b90ed, #53bced);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34c2a9, #6cd559);
}

.subnav-entry{
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    margin: 0 4px;
    flex-wrap: wrap;
    padding: 5px 0;
}

.subnav-entry li{
    list-style: none;
    flex: 20%;

}

.subnav-entry-icon{
    width: 28px;
    height: 28px;
    background-color: pink;
    margin-top: 4px;
    background: url(../images/un_search.png) no-repeat ; 
}

.subnav-entry a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* .subnav-entry-icon{
    width: 28px;
    height: 28px;
    background-color: pink;
    margin-top: 4px;
    background: url(../images/un_icon.png) no-repeat -3px -57px; 
} */

.subnav-entry li a [class^="subnav-entry-icon"] {
    width: 36px;
        height: 36px;
        background-color: pink;
        margin-top: 4px;
        background: url(../images/un_icon.png) no-repeat -3px -57px;
}

.subnav-entry li a .subnav-entry-icon-icon2{
    background-position: -2px -153px;
}

.subnav-entry li a .subnav-entry-icon-icon3 {
    background-position: -7px -402px;
}

.subnav-entry li a .subnav-entry-icon-icon4 {
    background-position: -1px -355px;
}

.subnav-entry li a .subnav-entry-icon-icon5 {
    background-position: -4px -503px;
}

.subnav-entry li a .subnav-entry-icon-icon6 {
    background-position: -1px -610px;
}

.subnav-entry li a .subnav-entry-icon-icon7 {
    background-position: -2px -551px;
}

.subnav-entry li a .subnav-entry-icon-icon8 {
    background-position: -4px -303px;
}
.subnav-entry li a .subnav-entry-icon-icon9 {
    background-position: -3px -104px;
}

.subnav-entry li a .subnav-entry-icon-icon10 {
    background-position: -6px -2px;
}

.sales-box{
    background-color: #fff;
    border-top:1px solid #ccc;
    margin: 4px;
}

.sales-hd{
    height: 44px;
    border-bottom: 1px solid #ccc;
    position: relative;
} 

.sales-hd h2{ 
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}

.sales-hd h2::after{
    display: block;
    position: absolute;
    top: 6px;
    left: 20px;
    content: "";
    width: 81px;
    height: 25px;
    background: url(../images/ctrip_sales.png) no-repeat;
    background-size:80px auto;
}

.more{
    position: absolute;
    top: 1px;
    right: 10px;
    background:-webkit-linear-gradient(left,#ff506c,#ff6bc6);
    border-radius: 12px;
    padding: 5px 20px 3px 10px;
    color: #fff;
}

.more::after{
    content: "";
    position: absolute;
    top: 10.5px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    transform: rotate(45deg);
}

.row a img{
    width: 100%;
}